package MathDataTest;
//演示三角函数
public class MathDemo3 {
    public static void main(String[] args) {
        System.out.println("九十度的正弦值："+Math.sin(Math.PI/2));
        System.out.println("零度的余弦值："+Math.cos(0));
        System.out.println("一的反正切值："+Math.atan(1));
        System.out.println("120度的弧度值："+Math.toRadians(120.0));
        System.out.println("Π/2的角度值："+Math.toDegrees(Math.PI/2));
    }
}
